
# ifndef __DFX_KEYBOARD_WIN32_H__
# define __DFX_KEYBOARD_WIN32_H__

# include "dfxKeyboard.h"
# include <Windows.h>

# ifndef HID_USAGE_PAGE_GENERIC
    # define HID_USAGE_PAGE_GENERIC			((USHORT) 0x01)
# endif

# ifndef HID_USAGE_GENERIC_KEYBOARD
    # define HID_USAGE_GENERIC_KEYBOARD		((USHORT) 0x06)
# endif

namespace DFX
{
    class Keyboard_Win32 : public Keyboard
    {
    private:

        RAWINPUTDEVICE  mRID;

    public:

        Keyboard_Win32(Window *w);
        ~Keyboard_Win32();

        void Update(Window *w);
    };
}

# endif